
<html>
<head>
	<title>业务模型设置-输电线路</title>
	<META NAME="Generator" CONTENT="EditPlus">
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta http-equiv="Content-Language" content="zh-cn" />
	<meta http-equiv="Pragma" content="no-cache" />
	<link href="/site_media/css/default.css" rel="stylesheet" type="text/css" />
	<link href="/site_media/css/jquery/flora.all.css" rel="stylesheet" type="text/css" />

	<script type="text/javascript" src="/site_media/js/jquery/jquery-1.2.6.js"></script>
	<script type="text/javascript" src="/site_media/js/jquery/ui.core.js"></script>
	<script type="text/javascript" src="/site_media/js/jquery/ui.tabs.js"></script>
	<script>
	$(document).ready(function(){
		$("#example > ul").tabs();
		$("#example > ul").tabs({selected: {{ id }}-1});
	});
	</script>
</head>
<body style="margin:5px;overflow:auto">
<div id="example" class="flora" style="width:100%;height:100%">
    <ul>
		{% for modelset in modelset_list %}
			<li><a href="#fragment-{{ modelset.id }}"><span>{{ modelset.model.name }}设置</span></a></li>
		{% endfor %}
		<!-- 
        <li><a href="#fragment-1"><span>低温区设置</span></a></li>
        <li><a href="#fragment-2"><span>高温区设置</span></a></li>
        <li><a href="#fragment-3"><span>风暴区设置</span></a></li>
		<li><a href="#fragment-4"><span>导线温度上限设置</span></a></li>
		<li><a href="#fragment-5"><span>盐密值上限设置</span></a></li>
		<li><a href="#fragment-6"><span>杆塔倾斜度上限设置</span></a></li>
		 -->
    </ul>
	{% for modelset in modelset_list %}
	 <div class="div_full" id="fragment-{{ modelset.id }}">
        <form name="form{{ modelset.id }}" id="form{{ modelset.id }}"
            action="/prewarning/setmodelset/" method="POST">
	     <TABLE cellpadding="0" cellspacing="0">
	     <TR style="height:30px">
	     	<TD></TD>
	     	<TD></TD>
	     	<TD></TD>
	     </TR>
	     <TR style="height:30px" colspan="3">
	     	<TD>{{ modelset.model.name }}设置：
	     	<input type="hidden" name="id" id="id" value="{{ modelset.model.id }}"/>
            <input name="value" id="value" type="text" value="{{ modelset.value }}">{{ modelset.model.unit }}
	     	{{ modelset.model.remarks }}</TD>
	     </TR>
	     <TR style="height:30px">
	     	<TD><input value="确定" type="submit" style="width:50px "/></TD>
	     	<TD>&nbsp;</TD>
	     	<TD>&nbsp;</TD>
	     </TR>
	     </TABLE>
         </form>
	 </div>	
	{% endfor %}
	<!-- 
    <div class="div_full" id="fragment-1">
        <TABLE cellpadding="0" cellspacing="0" style="width:100%;table-layout:fixed">
			<col width="100px" /><col style="width:100px" /><col width="" />
        <TR style="height:30px">
        	<TD></TD>
        	<TD></TD>
        	<TD></TD>
        </TR>
        <TR style="height:30px">
        	<TD>低温上限设置：</TD>
        	<TD><input name="temp" type="text" value="-10"></TD>
        	<TD style="padding-left:5px">℃以下气温即处于低温区</TD>
        </TR>
        <TR style="height:30px">
        	<TD></TD>
        	<TD><button value="确定" type="button" style="width:50px ">确定</button></TD>
        	<TD></TD>
        </TR>
        </TABLE>
    </div>
    <div class="div_full" id="fragment-2">
       <TABLE cellpadding="0" cellspacing="0" style="width:100%;table-layout:fixed">
			<col width="100px" /><col style="width:100px" /><col width="" />
        <TR style="height:30px">
        	<TD></TD>
        	<TD></TD>
        </TR>
        <TR style="height:30px">
        	<TD>高温下限设置：</TD>
        	<TD><input name="temp" type="text" value="30"></TD>
        	<TD>℃以上气温即处于高温区</TD>
        </TR>
        <TR style="height:30px">
        	<TD></TD>
        	<TD><button value="确定" type="button" style="width:50px ">确定</button></TD>
        	<TD></TD>
        </TR>
        </TABLE>
    </div>
    <div  class="div_full" id="fragment-3">
       <TABLE cellpadding="0" cellspacing="0" style="width:100%;table-layout:fixed">
			<col width="100px" /><col style="width:100px" /><col width="" />
        <TR style="height:30px">
        	<TD></TD>
        	<TD></TD>
        	<TD></TD>
        </TR>
        <TR style="height:30px">
        	<TD>风速在</TD>
        	<TD><input name="temp" type="text" value="30"></TD>
        	<TD>米/秒以上</TD>
        </TR>
        <TR style="height:30px">
        	<TD></TD>
        	<TD><button value="确定" type="button" style="width:50px ">确定</button></TD>
        	<TD></TD>
        </TR>
        </TABLE>
    </div>
	 <div  class="div_full" id="fragment-4">
        <TABLE cellpadding="0" cellspacing="0" style="width:100%;table-layout:fixed">
			<col width="100px" /><col style="width:100px" /><col width="" />
        <TR style="height:30px">
        	<TD></TD>
        	<TD></TD>
        	<TD></TD>
        </TR>
        <TR style="height:30px">
        	<TD>导线温度上限设置</TD>
        	<TD><input name="temp" type="text" value="30"></TD>
        	<TD>℃以上</TD>
        </TR>
        <TR style="height:30px">
        	<TD></TD>
        	<TD><button value="确定" type="button" style="width:50px ">确定</button></TD>
        	<TD></TD>
        </TR>
        </TABLE>
    </div>
    <div  class="div_full" id="fragment-5">
       <TABLE cellpadding="0" cellspacing="0" style="width:100%;table-layout:fixed">
			<col width="100px" /><col style="width:100px" /><col width="" />
        <TR style="height:30px">
        	<TD></TD>
        	<TD></TD>
        	<TD></TD>
        </TR>
        <TR style="height:30px">
        	<TD>盐密值上限设置</TD>
        	<TD><input name="temp" type="text" value="30"></TD>
        	<TD>mg/ml</TD>
        </TR>
        <TR style="height:30px">
        	<TD></TD>
        	<TD><button value="确定" type="button" style="width:50px ">确定</button></TD>
        	<TD></TD>
        </TR>
        </TABLE>
    </div>
	 <div  class="div_full" id="fragment-6">
      	<TABLE cellpadding="0" cellspacing="0" style="width:100%;table-layout:fixed">
			<col width="100px" /><col style="width:100px" /><col width="" />
        <TR style="height:30px">
				<TD></TD>
				<TD></TD>
				<TD></TD>
			</TR>
			<TR style="height:30px">
				<TD>杆塔倾斜度上限设置</TD>
				<TD><input name="temp" type="text" value="30"></TD>
				<TD>度</TD>
			</TR>
			<TR style="height:30px">
				<TD></TD>
				<TD><button value="确定" type="button" style="width:50px ">确定</button></TD>
				<TD></TD>
			</TR>
        </TABLE>
    </div>
	 -->
</div>
</body>
</html>
